﻿// Kevin Dockx, 11/2009 

using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;
using System.Text;
using WhatTheHelp.Core;

namespace WhatTheHelp.ServiceHost
{

    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class XMLRepositoryService : IRepositoryService
    {

        #region IRepositoryService Members

        public List<HelpOverlay> RetrieveHelp(HelpOverlayCriteria HelpOverlayCriteria)
        {
            //TODO: code to retrieve help depending on criteria

            return new List<HelpOverlay>();
        }

        public bool StoreHelp(List<HelpOverlay> HelpOverlays)
        {
            //TODO: store help, looking at state etc

            return true;
        }

        #endregion
    }
}
